package com.pine.app.module.security.oauth.provider;

import com.pine.app.module.security.core.userdetails.UserDetails;
import com.pine.app.module.security.oauth.provider.token.OAuth2AccessToken;
import lombok.Getter;
import lombok.Setter;

/**
 * @author xiaoyuan
 * @create 2020/3/17 23:15
 **/
@Setter
@Getter
public class SsoOAuth2Authentication extends OAuth2Authentication {

    private OAuth2AccessToken auth2AccessToken;


    public SsoOAuth2Authentication(OAuth2ClientRequest tokenRequest,UserDetails userDetails,OAuth2AccessToken auth2AccessToken){
        super(tokenRequest, userDetails);
        this.auth2AccessToken  = auth2AccessToken;
    }


}
